<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>

    <title>My JSP 'updateemp.jsp' starting page</title>
</head>

<body>
<form name="form1" method="post" th:action="@{/emp(method=update)}">
    <table width="500" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td colspan="2" align="center"><h1>修改共享车位</h1></td>
        </tr>
        <tr>
            <td width="120">车位编号：</td>
            <td width="380"><input type="text" name="psid" id="psid" value="1" th:value="${emp.psid}"></td>
        </tr>
        <tr>
            <td width="120">车位所属：</td>
            <td width="380"><input type="text" name="owner" id="owner" value="小郑" th:value="${emp.owner}"></td>
        </tr>
        <tr>
            <td>联系电话：</td>
            <td width="380"><input type="text"name="phone" id="phone" value="88888888" th:value="${emp.phone}"></td>
        </tr>
        <tr>
            <td>位置：</td>
            <td><input type="text" name="street" id="street" value="潍坊市" th:value="${emp.street}"></td>
        </tr>
        <tr>
            <td>车位号：</td>
            <td><input type="text" name="parkingnum" id="parkingnum" value="123" th:value="${emp.parkingnum}"></td>
        </tr>
        <tr>
            <td>起始时间：</td>
            <td><input type="text" name="starttime" id="starttime" value="十一点" th:value="${emp.starttime}"></td>
        </tr>
        <tr>
            <td>终止时间：</td>
            <td><input type="text" name="endtime" id="endtime" value="十二点" th:value="${emp.endtime}"></td>
        </tr>
        <tr>
            <td>单价/每小时：</td>
            <td><input type="text" name="price" id="price" value="56.0" th:value="${emp.price}"></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" name="button" id="button" value="修改">
                &nbsp;
                <input type="reset" name="button2" id="button2" value="取消">
            </td>
        </tr>
    </table>
</form>
</body>
</html>